<template>
	<view>
		<view class="list">
			<view class="lists" v-for="item in arr">
				<view>
					<view>
						<view>订单号:{{item.order}}</view>

					</view>
					<view>
						<view>
							开支报表
						</view>
						<view>
							<u-button v-if="item.start==0" type="success"  size="mini" class="btn">已通过</u-button>
							<u-button v-if="item.start==1" type="warning" :plain="true" size="mini" class="btn">未通过</u-button>
							<u-button v-if="item.start==2" :plain="true" size="mini" class="btn">审核中</u-button>
						</view>
					</view>
					<view>
						<view>{{item.day}}</view>
					</view>
					
				</view>
			</view>
		
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				arr: [{
						id: 0,
						order: 1543515,
						start: 0,
						num: 1,
						day: '2021年3月1日',
						money: '65.2'
					},
					{
						id: 0,
						order: 1543515,
						start: 1,
						num: 1,
						day: '2021年3月1日',
						money: '65.2'
					},
					{
						id: 0,
						order: 1543515,
						start: 2,
						num: 1,
						day: '2021年3月1日',
						money: '65.2'
					},
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style>
page {
			background-color: #f5f5f5;
		}
		.lists {
			
			width: 90%;
			height: 200rpx;
			background-color: #FFFFFF;
			margin: 0 auto;
			border-radius: 30rpx;
		}
		.lists>view:nth-child(1){
			margin-top: 40rpx;
		}
		.lists>view {
			margin-top: 20rpx;
		}
		
		.lists>view>view {
			padding-top: 10rpx;
			display: flex;
			justify-content: space-between;
			width: 90%;
			margin: 0 auto;
		}
		
		.lists>view>view:nth-child(1) {
			height: 50rpx;
			line-height: 50rpx;
			border-bottom: 2rpx solid #BBBBBB;
			padding-bottom: 46rpx;
		}
		
		.lists>view>view:nth-child(2) {
			height: 80rpx;
			line-height: 80rpx;
		}
		
		.lists>view>view:nth-child(3) {
			height: 40rpx;
			line-height: 40rpx;
		}
		
		.lists>view>view:nth-child(4) {
			height: 20rpx;
			line-height: 20rpx;
			margin-left: auto;
		}
		
		.lists>view image {
			width: 100rpx;
			height: 100rpx;
		}
		
		.left {
			margin-left: 20rpx;
		}
		
		.red {
			color: red;
		}
		
		.btn {
			margin-top: 10rpx;
			margin-left: auto;
		}
</style>
